package cn.bugstack.springframework.beans.factory.support;

import cn.bugstack.springframework.beans.factory.config.BeanDefinition;

/**
 * @author oyz
 */
public interface BeanDefinitionRegistry {
    /**
     * 注册ioc容器
     * @param beanName
     * @param beanDefinition
     */
    public void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    /**
     * @description: TODO 判断ioc容器里边是否存在了该bean
     * @author oyz
     * @param
     * @date 2022/3/30 20:57
     * @version 1.0
     */
    boolean containsBeanDefinition(String beanName);
}
